;;; Segment .text (0000000000400480)

;; fn0000000000400480: 0000000000400480
fn0000000000400480 proc
	xor	ebp,ebp
	mov	r9,rdx
	pop	rsi
	mov	rdx,rsp
	and	rsp,0F0h
	push	rax
	push	rsp
	mov	r8,+400780h
	mov	rcx,+400710h
	mov	rdi,+400660h
	call	[0000000000600FF0]                                    ; [rip+00200B46]
	hlt
00000000004004AB                                  0F 1F 44 00 00            ..D..

;; fn00000000004004B0: 00000000004004B0
fn00000000004004B0 proc
	push	rbp
	mov	eax,601040h
	cmp	rax,+601040h
	mov	rbp,rsp
	jz	4004D8h

l00000000004004C1:
	mov	eax,0h
	test	rax,rax
	jz	4004D8h

l00000000004004CB:
	pop	rbp
	mov	edi,601040h
	jmp	rax
00000000004004D3          0F 1F 44 00 00                            ..D..        

l00000000004004D8:
	pop	rbp
	ret
00000000004004DA                               66 0F 1F 44 00 00           f..D..
00000000004004E0 BE 40 10 60 00 55 48 81 EE 40 10 60 00 48 89 E5 .@.`.UH..@.`.H..
00000000004004F0 48 C1 FE 03 48 89 F0 48 C1 E8 3F 48 01 C6 48 D1 H...H..H..?H..H.
0000000000400500 FE 74 15 B8 00 00 00 00 48 85 C0 74 0B 5D BF 40 .t......H..t.].@
0000000000400510 10 60 00 FF E0 0F 1F 00 5D C3 66 0F 1F 44 00 00 .`......].f..D..
0000000000400520 80 3D 19 0B 20 00 00 75 17 55 48 89 E5 E8 7E FF .=.. ..u.UH...~.
0000000000400530 FF FF C6 05 07 0B 20 00 01 5D C3 0F 1F 44 00 00 ...... ..]...D..
0000000000400540 F3 C3 0F 1F 40 00 66 2E 0F 1F 84 00 00 00 00 00 ....@.f.........
0000000000400550 55 48 89 E5 5D EB 89 66 0F 1F 84 00 00 00 00 00 UH..]..f........

;; fn0000000000400560: 0000000000400560
fn0000000000400560 proc
	push	rbp
	mov	rbp,rsp
	sub	rsp,10h
	mov	[rbp-4h],edi
	mov	[rbp-8h],esi
	movsxd	rdi,dword ptr [rbp-4h]
	movsxd	rsi,dword ptr [rbp-8h]
	call	400470h
	mov	[rbp-10h],rax
	mov	rax,[rbp-10h]
	add	rsp,10h
	pop	rbp
	ret
0000000000400589                            0F 1F 80 00 00 00 00          .......
0000000000400590 55 48 89 E5 40 88 F0 BE 01 00 00 00 48 89 7D F8 UH..@.......H.}.
00000000004005A0 88 45 F7 48 8B 7D F8 8A 45 F7 88 07 89 F0 5D C3 .E.H.}..E.....].
00000000004005B0 55 48 89 E5 48 83 EC 20 89 7D F8 89 75 F4 8B 75 UH..H.. .}..u..u
00000000004005C0 F8 3B 75 F4 0F 8D 85 00 00 00 8B 45 F8 C1 E0 01 .;u........E....
00000000004005D0 8B 4D F4 C1 E1 01 39 C8 0F 8D 71 00 00 00 6B 45 .M....9...q...kE
00000000004005E0 F8 03 6B 4D F4 03 39 C8 0F 8D 61 00 00 00 8B 45 ..kM..9...a....E
00000000004005F0 F8 C1 E0 02 8B 4D F4 C1 E1 02 39 C8 0F 8D 4D 00 .....M....9...M.
0000000000400600 00 00 B8 02 00 00 00 8B 4D F8 89 45 E4 89 C8 99 ........M..E....
0000000000400610 8B 4D E4 F7 F9 8B 75 F4 89 45 E0 89 F0 99 F7 F9 .M....u..E......
0000000000400620 8B 75 E0 39 C6 0F 8D 24 00 00 00 8B 7D F8 8B 75 .u.9...$....}..u
0000000000400630 F4 E8 2A FF FF FF 48 89 45 E8 48 8B 7D E8 E8 0D ..*...H.E.H.}...
0000000000400640 FE FF FF C7 45 FC 00 00 00 00 E9 07 00 00 00 C7 ....E...........
0000000000400650 45 FC FF FF FF FF 8B 45 FC 48 83 C4 20 5D C3 90 E......E.H.. ]..
0000000000400660 55 48 89 E5 48 83 EC 40 48 8D 45 E0 C7 45 FC 00 UH..H..@H.E..E..
0000000000400670 00 00 00 89 7D F8 48 89 75 F0 48 8B 34 25 98 07 ....}.H.u.H.4%..
0000000000400680 40 00 48 89 75 E0 48 8B 34 25 A0 07 40 00 48 89 @.H.u.H.4%..@.H.
0000000000400690 75 E8 48 89 45 D8 48 8B 45 D8 4C 8B 18 BF 01 00 u.H.E.H.E.L.....
00000000004006A0 00 00 BE 05 00 00 00 E8 44 00 00 00 48 89 45 D0 ........D...H.E.
00000000004006B0 48 8B 45 D8 4C 8B 58 08 48 8B 7D D0 BE 78 00 00 H.E.L.X.H.}..x..
00000000004006C0 00 E8 2A 00 00 00 BE A8 07 40 00 89 F7 89 45 CC ..*......@....E.
00000000004006D0 E8 8B FD FF FF 48 8B 7D D0 89 45 C8 E8 6F FD FF .....H.}..E..o..
00000000004006E0 FF 31 C0 48 83 C4 40 5D C3 0F 1F 80 00 00 00 00 .1.H..@]........

;; fn00000000004006F0: 00000000004006F0
fn00000000004006F0 proc
	call	400700h

l00000000004006F5:
	pause
	jmp	4006F5h
00000000004006FC                                     0F 1F 40 00             ..@.

;; fn0000000000400700: 0000000000400700
;;   Called from:
;;     00000000004006F0 (in fn00000000004006F0)
fn0000000000400700 proc
	mov	[rsp],r11
	ret
0000000000400705                66 2E 0F 1F 84 00 00 00 00 00 90      f..........
0000000000400710 41 57 41 56 41 89 FF 41 55 41 54 4C 8D 25 EE 06 AWAVA..AUATL.%..
0000000000400720 20 00 55 48 8D 2D EE 06 20 00 53 49 89 F6 49 89  .UH.-.. .SI..I.
0000000000400730 D5 4C 29 E5 48 83 EC 08 48 C1 FD 03 E8 E7 FC FF .L).H...H.......
0000000000400740 FF 48 85 ED 74 20 31 DB 0F 1F 84 00 00 00 00 00 .H..t 1.........
0000000000400750 4C 89 EA 4C 89 F6 44 89 FF 41 FF 14 DC 48 83 C3 L..L..D..A...H..
0000000000400760 01 48 39 DD 75 EA 48 83 C4 08 5B 5D 41 5C 41 5D .H9.u.H...[]A\A]
0000000000400770 41 5E 41 5F C3 90 66 2E 0F 1F 84 00 00 00 00 00 A^A_..f.........
0000000000400780 F3 C3                                           ..              
